package com.qst.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qst.order.domain.UserAddress;

import java.util.List;

public interface UserAddressService extends IService<UserAddress> {

    // 根据用户id查询地址
    List<UserAddress> getAddressByUserId(Integer userId);

    UserAddress updateAddress(UserAddress address);

    UserAddress saveAddress(UserAddress address);
}